package com.cnbm.wcsbasic.protocol.netty.io.common;


/**
 * @Desc: "通用的数据传输底层类"
 * @Author: caixiang
 * @DATE: 2022/10/18 16:22
 */
public class RcvPackage {

    private boolean isOk;
    private Object value;
    private String content;

    public RcvPackage(boolean isOk, Object value, String content) {
        this.isOk = isOk;
        this.value = value;
        this.content = content;
    }
    public RcvPackage() {
    }

    public boolean isOk() {
        return isOk;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public Object getValue() {
        return value;
    }

    public String getContent() {
        return content;
    }



    @Override
    public String toString() {
        return "RcvPackage{" +
                "isOk=" + isOk +
                ", value=" + value +
                ", content='" + content + '\'' +
                '}';
    }
}
